package Message.Game
{
    import Framework.MQ.*;
    import Framework.Serialize.*;
    import Message.Public.*;

    public class SVIPInfo extends Object implements IMessageBase
    {
        public var VIPType:EVIPType;
        public var leftTime:int;
        public var shoe:int;
        public var trumpet:int;
        public var revive:int;
        public var enterCopy:int;
        public var loopBookTimes:int;
        public var transportTimes:int;
        public var bless:int;
        public var rewards:int;
        public const _type:int = 12063;
        public static var _regist:SVIPInfo = new SVIPInfo(true);

        public function SVIPInfo(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            
        }

        public function getType() : int
        {
            return this._type;
        }

        public function clone() : IMessageBase
        {
            return new SVIPInfo();
        }

        public function __write(param1:SerializeStream) : void
        {
            this.VIPType.__write(param1);
            param1.writeInt(this.leftTime);
            param1.writeInt(this.shoe);
            param1.writeInt(this.trumpet);
            param1.writeInt(this.revive);
            param1.writeInt(this.enterCopy);
            param1.writeInt(this.loopBookTimes);
            param1.writeInt(this.transportTimes);
            param1.writeInt(this.bless);
            param1.writeInt(this.rewards);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.VIPType = EVIPType.__read(param1);
            this.leftTime = param1.readInt();
            this.shoe = param1.readInt();
            this.trumpet = param1.readInt();
            this.revive = param1.readInt();
            this.enterCopy = param1.readInt();
            this.loopBookTimes = param1.readInt();
            this.transportTimes = param1.readInt();
            this.bless = param1.readInt();
            this.rewards = param1.readInt();
            
        }

    }
}
